import request from '@/utils/request'

// 查询店铺sku出仓数据列表
export function listBiSkuOutWarehouse(query) {
  return request({
    url: '/financial/BiSkuOutWarehouse/list',
    method: 'get',
    params: query
  })
}

// 查询店铺sku出仓数据详细
export function getBiSkuOutWarehouse(id) {
  return request({
    url: '/financial/BiSkuOutWarehouse/' + id,
    method: 'get'
  })
}

// 新增店铺sku出仓数据
export function addBiSkuOutWarehouse(data) {
  return request({
    url: '/financial/BiSkuOutWarehouse',
    method: 'post',
    data: data
  })
}

// 修改店铺sku出仓数据
export function updateBiSkuOutWarehouse(data) {
  return request({
    url: '/financial/BiSkuOutWarehouse',
    method: 'put',
    data: data
  })
}

// 删除店铺sku出仓数据
export function delBiSkuOutWarehouse(id) {
  return request({
    url: '/financial/BiSkuOutWarehouse/' + id,
    method: 'delete'
  })
}
